added missing ; to pseudocode part 3