Added getting tables