added automatic category system