Changed reset functionality