Not sure why you need to check if this is nil considering you will assign it to something if it is nil on the next line. May have to do with the line above.