require solve only within files that need it