The function of anti-lock brake system (ABS) is that is