basic calendar functionality done