add custom propertyeditors function