new examples of constructors and fixes to other samples