Michael's Sample Ruby Code