Removed dead code
Added author in the copyright