Update: can use function in format.option