finish port by converting names to more idiomatic ruby. remove some prints.