added '.' notation, grammar finished