basic working version of mandoc