tried an optimization to no effect