vectorized kramer