minor errors init ball fixed