got reset working correctly