Checking references