Fixed API calls, they now work