utilities and demo codes