adding case which accepts request_type passed and outputs the matching response