adds some inline docs