added inspect methods, fixed wrong hash value access