Now talking to api properly