use parameters instead of properties for metadata