Deletinguneeded code