adding dough class