added integer and string generator functinos
made collection-modifying generators into non-public function