removed Chan code