added encoding and syntax definitions