IMU 6DOF + GPS TTL communucation problems

i got it to work but i don't know why it works this way and not the other. here's the code.

void setup()
{
  Serial.begin(57600);
}

void loop()
{
  if(Serial.available())
  {
  Serial.print(Serial.read(), BYTE);}
}

now wtf is up with that? is there something wrong with the NewSoftSerial library? i don't get why this works and the previous code doesn't.