The original code