add static class JPath to handle the path used in the select()