This is the original code.