refactor Generator
out message