removed test printouts, works for 6x6