generating errors - removing