added queue class