This is prototype code.