add two options for model.get