better use of chaining for the initialization