began porting to ruby