Implemented pointer comparison which I had forgotten.