removed float convert from rate so arrays work, and fudged out transitional flow