splitting out infinote-mode