absolute value issue with second method