it works for 3x3