added valuetype methods and removed the old style method for this