add new feature (continue #8)

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