removed unnecessary elements