constructor exercises