Why is this function necessary? It's not doing anything special to calendar.