miscellaneous problem set 2