added gets param to controller