tablePattern Problem