some corrected and extra comments AND the .do file for simulation