fixed bug with star count, added header