[LIB] added a new function