extracting some stuff to moving object