changed model from random cell then flow to highest cell then flow. still need queue to implement gradient flow