timer displays correctly