add some comments about single instance code