remove unrelated code