added new function

added new function