3rd blackbeard rewrite, c++14 style