stock.py fourth try