started using the tikzexternalization package