trying to make more compact