add one2many setter method
resuse variables
psr fix