you don't need to manually test for conflicts, add course and add lab will check to make sure that the course you are trying to add doesn't conflict with anything already in the container and throw an exception if there is a problem. It might be worth moving that function from public to private to avoid confusion