didnt need the '!= nil' statement