add new feature (continue #10)
released version 1.2

Signed-off-by: rei <reiheart@gmail.com>