a working way to create a shorthand for making new apis - something to think about later