learning about document and bind