Some minor fixes to third one. After this, gonna do 4th one.