adding encoding declarations