working submission to scheduler