nice working version for dot language plot