#96 added documentation for prototype functions