reverted covStats because i don't see what the sigpipe thing is doing