got api's working and compiled together