precFunctions.R moved from .._control