added function

added functions