Preparing for move function