adds structure