added a little test routine