The initial version of star code from Tingtao