added elements to db