add feature to pass parameters to controller methods