helper for populating calendar