added some stuff for testing.