gemfile + commented algo amelioration