integration with model-core gem