two simple problems