oops forgot to add some to the staging area, also implemented a very basic api