reset version
Fixed enumerator
Shorter variable name
Remove printf-debugging