stub beautifying