added encoding declarations