values from encoder now work