adding queue class