added queuing functionality