Conditional update

fix the math on this file now matching my prompts smoothly