wenshan's code