added some comments and added classes for blatt3