set up utilies function to treat with markup and transformations inside the commands