Added timer code, absolute value, etc.