Stupid error, need to modularize better (# of queues)