updated if comments