k as function instead of ce-lens