little better
add detectindent