moving variable assignment to saner place