Added table functions