changes to scheduler to use event.pull instead.