added logging about times