minor changes

absolute value not calculated