working on new cell + event format, added global for init piece count