Small tweaks to stanford