proper errors are displayed along with styling.