add contributed files from konrad