import functions from preprocessCore