episode scoring methods and control flow