(use prelude's `abs` as suggested above).