continuing migrate to ruby