changed insertion of elements: now behind the current element