removed hardcoded version and open up the api structure