with additional key identifying function