made the parameters 1 vector