Added time logging and ETA calculation