working on eb api