New approach for finding path