select and create queue instead of new
Merge pull request #9 from adeven/new_queue_functions

select and create queue instead of new