timer and print receipt