work in progress porting to docpad, not working at all