reduce duplicate codes
add new example