linked to the database