code review: const factor