Porn: determines k