rough draft of all major api calls