macEquals method