old version that works for non-TTV models