metadata functionized