proper path, dynamic threshold