add elemets and trails