implemented greed strategy, removed unnecessary params for consumer.