improved logging
logging: in msec.