tweaks to ruby stuff