Commented out stuff in scheduler