up to problem 30 solved plus problem 31 framework