never store on layer directly, better to use layer.metadata for this