holy shit, perror works, putting code back to work so perror can rest