added autoActive option