added category parser helper