add function for insertBefore()