prob6 added