added move function to bodies