add possibility of switching row in matrix