ball movement prototype ( not tested)