got end time button working and writing to console