Changed clearArray to clear(NameOfArray)