Changes to star.cpp