add write to file
add time benmark