ref check