add an extra check