verified schedule code is working