match reset working