almost have it working, but the if loop is not evaluating T/F and I'm not sure why