cleaning up the codes

deleted some lines that aren't needed