removing unnecessary code

ditching code which isn't needed