add abs, adjust == for arrays