remove unused variable 'index'
clean code.
init prog2 source.