key value can not be null
add two Demo