found an optimization