Greatly improved Ruby #3