experiment with strong-typing in ruby