refactor
change value to reference
refactor
rename method