moved preserve log
added console.time