save solution