example of constructor