Add logic for consumers