encoder vals