better ux, type colors and history storage