decl prog - exercise session 2