code to test move