another fix for open3
use pry instead of irb, isolate methods into class