Generator made public