extend example
add assertion in new funtion