modified consumer initialization