added ui, made shit more complex, got confused, broke things, fixed things. Now it seems convoluted. But it works