Add getActive method