pass everything in by reference / add a color file rather than a common file