got a basic api going, thinking can now rip it all to shreds