add doc
better config