using the new reset function