add set function for popstar.c