length now defined in const int