adding Method.equals