added some ruby stuff