adding mirror check