add implementation for get-request-args function