change to ruby