prob5 and prob6