Default generator set to 1
Deleted unneccessary imports
string builder with capacity 1
enhanced logging message
Deleted unneccessary lines