added addBefore()
added addAfter()