use closure instead of cmd
use 1.0.2