Adding the add_active func