updated calendar API - now returns switches too