added functions: