public boolean isConflict(Section sectionToAdd, ArrayList<Section>sections){
		 for(Section section: sections){
		 	//checks if an existing section causes a conflict
		 	for(Meeting meeting: section.getMeetings()){
		 		//checks if a meeting in a section conflicts with all meetings in section to add
		 		int meetingStart = convertToMilitary(meeting.getTimeStart());
		 		int meetingEnd = convertToMilitary(meeting.getTimeEnd());
		 		for(Meeting meetingToAdd: sectionToAdd.getMeetings()){
		 			//a meeting in sectionToAdd is compared to meeting
		 			if(meetingToAdd.getMeetingDay().equals(meeting.getMeetingDay())){
		 				int meetingToAddStart = convertToMilitary(meetingToAdd.getTimeStart());
		 				int meetingToAddEnd = convertToMilitary(meetingToAdd.getTimeEnd());
		 				if(meetingToAddStart >= meetingStart && meetingToAddStart <= meetingEnd || 
		 					meetingToAddEnd >= meetingStart && meetingToAddEnd <= meetingEnd){
		 					return true;
		 				}
		 			}

		 		}
		 	}
		 }
		 return false;
	}