diversification returning tables and exchanging rows and columns(???)