added functions
functions