got the api right this time