fixed constructor chaining example