Improved equals inspection
Improved equals inspection
Implemented partial function instead of match inspection