Removed useless lines of code