Constructor example