$params initialization in method, Closes #45

Closes #45