Comments for some of Yilin's code