add metadata see #162