comment resource and model