Insert code at position, new better/faster insert function