fixing requireds, adding ClientTokenProc