ok first cut flow thing done ask mark if it looks right