provide model object to its own definition method