documented the scheduler, fixed dumb ordering of arguments on an emit