<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(self, data):
 		"""Creates new entry in mongo database 		"""
		
		q = self.history.insert_one(data).inserted_id
		logging.debug(self.history.find_one({"_id":q}))