moves redundant code to QueueAppModel