db tables array work