init, imported functionality from heinzelmannchen-generator