pass name to db connection.