refactor calendar, mark past entries