remove redundencies