add first round of error handling and log levels