Fixed typo in parameter, renamed params