extracted make move function and made those functions private