draft of algo part2 q59