adding dictionary of elements