setting values on created objects