meant to change last log time too! and removed the ugly cout