writeup almost complete