pai is demo handler for scraw data