Added active to global object