For the purpose of applying the grounds for refusal under , the biometric data of third-country nationals or stateless persons registered for the purpose of conducting an admission procedure under that Regulation should be taken, transmitted to Eurodac and compared against the data stored in Eurodac of beneficiaries of international protection, of persons who have been granted international protection or humanitarian status under national law in accordance with that Regulation, of persons who have been refused admission to a Member State on one of the grounds referred to in that Regulation, namely that there were reasonable grounds for considering that third-country national or stateless person as a danger to the community, public policy, security or public health of the Member State concerned or the ground that an alert has been issued in the or in a national database of a Member State for the purpose of refusing entry, or in respect of whom that admission procedure has been discontinued because they have not given or have withdrawn their consent, and of persons who have been admitted under a national resettlement scheme. Therefore, those categories of data should be stored in Eurodac and made available for comparison.