the method move ball is added to file