secured the model