added queue counter