second_try.py and ref.