#2 add nullable generator

#2 add nullable generator