implements queuing

references #137 @1:40
references #142 @4:00