some test codes of mine