Created beautiful relationships between periods and courses. Also made checkboxes for selecting period.