set up a queue for code execution, first level almost complete