cleaned up a bit but still need to overhaul all arrays to just string manipulation