set up markup utilities functions