some code clean up while reading thru

Removing the i variable and terminating a statement