Consturctor and loop tutorials