added error and css