worked on API for desktop app