Removed unused functions, smaller ball