rewrite of Blackbeard