tunning...
add size log validation