wrote a bunch of stuff