made small superficieal changes to Ball class