removed unneccessary lines of code.