new path checking utils