working version, without the core file checkyahoo.py