refactoring
path test