add timing; switch to new interface