adds doubly