- remove unused code
- comments added to code