move out ``eval`` ``str.format``
move out ``Labels`` and ``num`` outside