Clean misc code
Complete assign 3