changed consumeItem to be static