hopefully finished fixing writeup