formatting console ui