[ALOY-1112] remove variable declaration, chain the method calls