Added a second simpler api that works