finished random motion module