Unnecessary elements removed