added some linking interfaces to the database