take .valueOf() primitive datatypes during construction