work on interest encoding