change p002 to function.