can use function for 'size' option
ver 1.1.0