finished most of the create secret side