use a value class property instead of key map