generates clients on require