added AutoCat class