simulate slow picture
add strftime method
add test for strftime
clean up the code