change the implement of Seat.createFromCode,