deleting unnecessary code.