partial rework of attribute metadata layer