parsing category and model