finished writeup mostly