Reset implementation