Added .clear method to schedule