Extracted function into model property