renamed naive.py