additional scheduler code