add suffix option, check return value of transform