updated ruby hash style