updated function description