working on path problem