add prime calc