rename local variable to proc