made schedule method of event public