uuid as closure. fix #164

where should we document this?