added ransformation to dot