changeed buf for testing