forgot a nil check