generate equation logic working
added refresh button to test logic
comment about threads