demo for ruby