added first category function