Worked on get_consumers function