Move logic to amont_for method
rename local variable in amont_for method