added functions to package module