using new isWhitelisted signature