added to ruby and swift