regarding the comment... when `$properties` is passed as an array, this will be an array not a string