first three problems solved.