part 2 matrix widget