functions now get added to a queue, and there is a function to say "go"