Changed consume() -- now it should work properly