refactor request_data - extract 2 extra methods