add dox
add jade
experimental rough implementation