Adding ability to get queue