fixed some typo errors and first work on single generators