finished getPeriodAssignments(url)