test moving function