added ball movement