algo works
realised