create specific fct to get active sensors