ready to change gramTags to 0-termination, too...