added auto table