changed to a 2d[]