Release from prison on promise of good behaviour