several calls to refresh and sleep to see what the screen looks like at each stage