The same modifications like in @matrix, but there are problem