adding back 3x3 code