moving in class example