update algo and pass the OL
thoughts to the sol
sol of q124