draft code