added 2x2 mode as well.