model function

Extract the model attribute