Added check for empty first element in a psuedo array because I am too lazy to make a better function for creating the dumb array in the first place.