add to temp DB working