moved setting colors to near the top