uneused elements removed