use activeCount instead of active_count