keys filtered by head