Throughout the entire prison sentence, all work with the prisoner is aimed at preparation for release. To help the prisoner reintegrate into society as smoothly as possible, preparations are made before release, many of which already take place during the main phase of imprisonment. Common measures include providing social assistance, teaching new skills and social coping abilities, and placing the prisoner in an open prison. The prison helps the prisoner establish contacts with family members and social welfare institutions. Upon release, the prisoner is paid a release grant accumulated from their earned wages.