add some error handling around moves