added prob6