generate subclaves