fix equals to compare this to the parm, rather than this to this