added explicit encoding