working on request function