less excessive variable assignment