little modify, delete the code we don't need