class Dirgram