Made the gen dispatch tables method