fixed encoder