adding additional parameters variable to controller