added a first version for the appearance check