make it work with real API