now use seperate sections for different requests
still need to refactof stuff, but having trouble with class functions.