fixed issue with calendar API...closer to getting it working