Modified to use constant of the model