twist of parameters and create talbes