working version is star.py