refactoring _request with 'for in'