diagraphic functions
fix
changes