drafts code