started work on client factory