formatting done for lists