simplify path solution added