Using chaining instead of declare variable