changed to use asctime