example for using new move function