add compact.