minor changes
skipping header lines is now without assignment to local variable "line"