use multiple vars instead of chaining declarations