working on way to determine what color goes to what side