formatting in component table