Reduce duplicate variables, Clean output