insertBefore works better