ruby stuff added