error: 'serial' was not declared in this scope

:)Hello can anyone tell me why I get this error? Thanks, Goatboy

#include <AF_Wave.h>
#include <avr/pgmspace.h>
#include "util.h"
#include "wave.h"
int pirPin=6;  // Reading from digital pin 6  PIR sensor!
int val=0;

AF_Wave card;
File f;
Wavefile wave;

void setup() {
  // set up serial port
  Serial.begin(9600);
  pinMode(pirPin, INPUT);

  // set up waveshield pins
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(4, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(6,INPUT);

  // open memory card...........This part is necessary to set up and read SDcard!
  if (!card.init_card()) {
    return;
  }
  if (!card.open_partition()) {
     return;
  }
  if (!card.open_filesys()) {
     return;
  }
  if (!card.open_rootdir()) {
     return;
  }
}

void loop(){
  val = digitalRead(pirPin);
  serial.println(val);
  

  
  while (LOW==digitalRead(pirPin)) {;}
      playcomplete("0.WAV");
         delay(1500);


while (LOW==digitalRead(pirPin)) {;}
      playcomplete("1.WAV");
         delay(1500);

while (LOW==digitalRead(pirPin)) {;}
        playcomplete("2.WAV");
         delay(1500);


  }

      

void playcomplete(char *name){ 

  playfile(name);
  while (wave.isplaying);
  card.close_file(f);
}

void playfile(char *name) {
  // stop any file already playing
  if (wave.isplaying) {
    wave.stop();
    card.close_file(f);
  }

  f = card.open_file(name);
  if (f && wave.create(f)) {
    wave.play();
  }
}
serial.println(val);

should be:

Serial.println(val);

C is case-sensitive.

Foolish Me!!!!!!!!! :-[ Thanks!!