addec code for abs and negate methods