created logic file. didn't end up using arrays in attempts of being simple.