rewriting stuff because nothing works woo!