my demo and test code