authorize code draft done