solved cachematrix