Added option for user to specifiy the parameters of the methods