added precog api