multiple requests, added apl_request function