added a star.h to code