better interface for calendar