trying to fix array thing