added demo of type of constructors