switching to ruby