stripping back out ruby stuff