added toString methods
added message debug messages to key operations