oh so thats how you use the api correctly