Separate path from algorithm