some weichen code