handles empty calendar