Version with assignments four and five