The variable b is assigned a value 0.75*%pi so that's why lsquares_estimates complains. Try kill(b) before the call to lsquares_estimates. HTH Robert Dodier