SN: added some steps and code