readin complete and inFunctions