src and doc pointer