removed uneccessary lines of code.