get rid of broken function