seperate end and start api call needed