added initial categories, made action nullable