database adapter (labels)