getParam method added to Controller