add some inline docs