now functionality and value passed as queryparam