add private solver and timing code