Converting to OO. Not working. Wrong name error.