move creation out of methods