remove local vars; moved to unexported fields for service db and table