crediting source of function