linkage to database