Now fully uses array, need to fix print