done problem 36 added problem 31