Added time real time time and hopefully fixed some other timing issues.