move 'NewClient' to function
2 files changed