added description of function