refactoring
assign field