Added a eq method