refactored getting actives