add some methods to moving object