Added code for deterministic release model.