broke arrays but know how to fix them now