use const int instead of `#defines`