Embedded class prog 2