added bounds to opti