migrate stuff from UHH fork as per https://github.com/maxheld83/schumpermas/issues/143