abs values and main.c changed