move some background code from resumebuilder to helper