changes from object to array in dbinterface