olver algorithm example has been improved