adding encoding... will this work?