saving my solutions for reference