removed unwanted lines of code