Small changes, now ignores the first row as it seems to be broken (i don't know why)