Added autofill to tables