added consume command