modified a create method.
added getter/setter.
update test