Adding constructor pattern some example