Final

code functional, all comments added