be thread safer
connection= is defined in Base