replace final by const int