added the setValues mtehod on the model