added a sleep statement so it will print at the end