hopefully get rid of some undefined function errors