feat: implemented request function