removed uneccessary lines of codes