Well in each one of your methods involving your courses, you are resetting it to a null value, so you never actually add any data into it.