Added _hasPath variable