my ruby code for testing