Added back timing code.