formatting badges