Work on consume api