everything linked to db