solutions for all problems