Writing product vaildations