added problem b