Male beetles up their game when they catch a whiff of competition