preparing for authorization