did a bunch of stuff. should be mostly functional.