problem6 added