import of some functions from omearalabR on r-forge