delete unused statements
Add document comments for each methods