demod doc notes