added category and model associations