added enums for magic numbers in nim.cs