began solve method