encoding example problem