added error boxes