Modified to delete warnings.