created part of data base's communication functionality