Inline the reset function