try set solution type dynamically