absolute value checking