tidy error handling visability