move timing printout to debug