added sync consumer