adding Schedule class.