worked on estimating parameters