properties to attributes