separate similar steps but different steps into separate functions. refs item:693
separate similar steps but different steps into separate functions. refs item:693

musamusa/move,musamusa/move,musamusa/move