added some little tools for testing.