#2 add nullable generator