resetting implemented