moved rendering stars to a app wide helper object