added some color management to ball