DBconnect add two function