wip read wiki and see recursive alg in 3 steps will try that next