modified the unit files: const int& to int