Added basic functionality to consumer