working on mobile api