Functions, that use scheduling