for ruby2
add sample