style refactor in requester.py