add end time in boxes